package com.atstudy.headline.enums;

public enum ContentStatusEnum implements BaseEnum {
    DRAFT(1, "草稿"),
    REVIEWING(2, "审核中"),
    PUBLISHED(3, "已发布"),
    BLOCKED(4, "已封禁"),
    DELETED(5, "已删除");

    private final int code;
    private final String desc;

    ContentStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getName() {
        return "";
    }

    @Override
    public String getDesc() {
        return desc;
    }
}